package csw;

import csw.model.Account2VO;
import csw.services.Account2Service;

public class J16Account {

	//Account2VO
	//Account2IService
	//Account2Service
	
	public static void main(String []args){
		Account2VO ac = 
					new Account2VO(
					"1122",20000,4.5, "2014-04-01");
		//계좌 처리(월간이자,입금,인출)
		Account2Service as = 
						new Account2Service();
		as.getMonthlyInterestRate(ac);
		as.withDraw(ac,1950);		//인출
		as.deposit(ac,5000);			//입금
		//결과 출력
		System.out.println(ac.toString());
	}
}
